﻿<Window xmlns:my="clr-namespace:SaryaAccounting.ModuleMenu"  x:Class="SaryaAccounting.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:regions="http://www.codeplex.com/prism"
        regions:RegionManager.RegionName="WindowRegion"
        Title="MainWindow" Height="410" Width="693" Loaded="Window_Loaded"
        Mouse.MouseDown="TitleBar_MouseDown" ButtonBase.Click="CloseAndMin_Click" ToggleButton.Checked="MaxAndNormalButton_Toggeled" ToggleButton.Unchecked="MaxAndNormalButton_Toggeled">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <my:ModuleNavigatorControl Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
        <TabControl Grid.Column="1" Grid.Row="0" Name="MainRegion" regions:RegionManager.RegionName="MainRegion" regions:RegionManager.RegionContext="{Binding Path=BrowserInfo}" ItemContainerStyle="{StaticResource HeaderStyle}" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch">
        </TabControl>

        <TextBlock x:Name="tbStatus" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1" Text="Ready." />
        <!--<StatusBar Grid.RowSpan="2" Height="23" HorizontalAlignment="Left" Margin="10,10,0,0" Name="statusBar1" VerticalAlignment="Top" Width="120" />-->
    </Grid>
</Window>
